import pytest


class Data:
    data=[('lisi','123456','个人理财系统'),('admin','123456','后台管理系统'),('lisi3','123!@#$%^%&456','个人理财系统'),('lisi3','123456','用户名不存在'),('lisi','1234567','密码错误'),('admin1','123456','用户名不存在'),
          ('admin','1234567','密码错误')]
    data_reg=[('wangwu','123456','123456','度小满理财-登录[内测版]'),('wangwu1','123456','123456','用户wangwu1已存在'),('wangwu','123456','1234567','两次密码不相同'),('wangwu','123456','','重复密码为空')
    ,('wangwu','','','密码为空')]
    def db(self):
        return self.data
    def db_reg(self):
        return self.data_reg